﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace PMSMVC.Models
{
    [Table("DocTaskChange")]
    public class DocTaskChange
    {
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity),Display(Name="任务")]
        public int DocTaskChangeID { get; set; }
        [Display(Name = "任务编号"), ForeignKey("DocTask")]
        public int TaskID { get; set; }
        [Display(Name = "修改时间"), DataType(DataType.Date)]
        public DateTime RecordTime { get; set; }
        [Display(Name = "修改人"), StringLength(20)]
        public string UserID { get; set; }
        [Display(Name = "修改原因与内容"), StringLength(200),DataType(DataType.MultilineText)]
        public string ChangeDetail { get; set; }
        public virtual DocTask DocTask { get; set; }
    }
}